Per-user configurations and preferences in DaVinci Resolve 16
=============================================================

Starting from DaVinci Resolve 16, configurations, presets, preferences and other auxiliary files used by DaVinci Resolve will be stored at a per operating system user-level, allowing for greater flexibility and security for multi-user workstations.

Summary of changes:
===================
When you upgrade to DaVinci Resolve 16 and start it for the first time, a copy of your system level global configuration files, layouts, logs and other preferences will be copied into your user folder. The existing system level files will be left untouched and will continue to work with older versions. Any changes made to your system or user level preferences in DaVinci Resolve 16 will not be reflected in older versions. 

Disk databases, LUTs, licenses and a few other directories will remain in their original locations.

DaVinci Resolve uses two sets of folders for storing metadata, configurations, presets and preferences:
The Application Support folder mainly contains the the logs directory and other supporting files used by DaVinci Resolve.
The Configuration folder mainly contains user and system configuration files.

The old and new Application Support and Preferences locations for DaVinci Resolve are listed below:

MacOS: 
======
The default locations have been moved from /Library/ (in DaVinci Resolve 15 and before) to the $HOME/Library/ folder. 
In a standard MacOS setup $HOME corresponds to the path /Users/<username>/

Old Application Support location:	/Library/Application Support/Blackmagic Design/DaVinci Resolve/
New Application Support location:	$HOME/Library/Application Support/Blackmagic Design/DaVinci Resolve/

Old Configuration location:		/Library/Preferences/Blackmagic Design/DaVinci Resolve/	
New Configuration location:		$HOME/Library/Preferences/Blackmagic Design/DaVinci Resolve/

Windows:
========
The old default locations in DaVinci Resolve 15 and before were in %PROGRAMDATA% - In a standard Windows location this corresponds to: C:\ProgramData\
The new default locations are now the %APPDATA% folder - In a standard Windows installation this corresponds to: C:\Users\<username>\AppData\Roaming

Old Application Support location:	%PROGRAMDATA%\Blackmagic Design\DaVinci Resolve\Support
New Application Support location:	%APPDATA%\AppData\Roaming\Blackmagic Design\DaVinci Resolve\Support

Old Configuration location:		%PROGRAMDATA%\Blackmagic Design\DaVinci Resolve\Preferences
New Configuration location:		%APPDATA%\AppData\Roaming\Blackmagic Design\DaVinci Resolve\Preferences

Linux:
======
Depending on whether you used a standard DaVinci Resolve CentOS DVD or a standalone installation, your old DaVinci Resolve location may be /home/resolve or /opt/resolve.
The new default locations are in $HOME - in a standard CentOS installation, this corresponds to /home/<username>

Old Application Support location:	/opt/resolve/ or /home/resolve/
New Application Support location:	$HOME/.local/share/DaVinciResolve

Old Configuration location:		/opt/resolve/configs/ or /home/resolve/configs/
New Configuration location:		$HOME/.local/share/DaVinciResolve/configs


Overriding paths:
=================
For custom installations, the following environment variables can be used to override the new locations. 
Note that these environment variables need to be set after installation, but before starting Resolve for the first time.

BMD_RESOLVE_SUPPORT_DIR: 
	The Application support location. If not set, the value defaults to the new Application Support location for each platform.

BMD_RESOLVE_CONFIG_DIR: 
	The configuration location. If not set, the value defaults to the new Configuration location for each platform.

BMD_RESOLVE_LOGS_DIR: 
	The location of DaVinci Resolve logs. If not set, the value defaults to $BMD_RESOLVE_SUPPORT_DIR/logs as per the evaluation of BMD_RESOLVE_SUPPORT_DIR above.

BMD_RESOLVE_LUT_DIR: 
	The location of the LUTs directory. The location needs to be accessible by all users. 
	If not set, the value defaults to the 'LUT' folder in the old Application Support location. i.e.:
		MacOS: 		/Library/Application Support/Blackmagic Design/DaVinci Resolve/LUT
		Windows:	C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\LUT
		Linux:		/opt/resolve/LUT

BMD_RESOLVE_LICENSE_DIR:
	The location of DaVinci Resolve license configuration files. The location needs to be accessible by all users. 
	If not set, the value defaults to the '.license' folder in the old Application Support location. i.e.:
		MacOS: 		/Library/Application Support/Blackmagic Design/DaVinci Resolve/.license
		Windows:	C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\.license
		Linux:		/opt/resolve/.license
		
